package com.ruiysoft.service.supplier.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruiysoft.entity.supplier.Supplier;
import com.ruiysoft.mapper.supplier.SupplierMapper;
import com.ruiysoft.service.supplier.SupplierService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SupplierServiceImpl extends ServiceImpl<SupplierMapper, Supplier> implements SupplierService{

    @Override
    public int updateBatch(List<Supplier> list) {
        return baseMapper.updateBatch(list);
    }
    @Override
    public int batchInsert(List<Supplier> list) {
        return baseMapper.batchInsert(list);
    }
    @Override
    public int insertOrUpdate(Supplier record) {
        return baseMapper.insertOrUpdate(record);
    }
    @Override
    public int insertOrUpdateSelective(Supplier record) {
        return baseMapper.insertOrUpdateSelective(record);
    }
}
